
#include "hashMap.h"

int main() {
    HashMap* hashMap =Init();
    Put(hashMap,1,1);
    Put(hashMap,"123","123");
    Put(hashMap,3,3);
    Put(hashMap,31,2);
    Put(hashMap,19,2312);

    Print(hashMap);
    printf("\n");

    printf("get:%d=>%d\n",19,Get(hashMap,19));

    Delete(hashMap,19);
    Delete(hashMap,3);
    Print(hashMap);

    printf("contain:%d\n", ContainKey(hashMap,"123"));
    printf("contain:%d\n", ContainKey(hashMap,"a"));

    Clear(hashMap);
    Print(hashMap);

    return 0;
}
